home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / lib / partman / visual.d / number < prev    next >
Text File  |  2008-10-14  |  268b  |  22 lines

  1. #!/bin/sh
  2.  
  3. . /usr/share/debconf/confmodule
  4.  
  5. cd $1
  6.  
  7. num=$2
  8. id=$3
  9. size=$4
  10. type=$5
  11. fs=$6
  12. path=$7
  13. name=$8
  14.  
  15. if [ "$fs" = free ]; then
  16.     printf "%${number_width}s" ''
  17. else
  18.     db_metaget partman/text/number description
  19.     x=$(printf "$RET" $num)
  20.     stralign "$number_width" "$x"
  21. fi
  22.